package com.ys.service.purchase;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.ys.vo.R;

/**
 *
 */
public interface TcgInvoiceRegistService {
	
	R add(String bid, String bidInvoiceOffset, String remark, String invoiceNo, String invoiceDay,
			BigDecimal taxPercent, BigDecimal amountNoTax, BigDecimal tax, BigDecimal amountWithTax,
			String detailArr, Long menuId) throws Exception;
	
	R edit(String bid, String bidInvoiceOffset, String remark, String invoiceNo, String invoiceDay,
			BigDecimal taxPercent, BigDecimal amountNoTax, BigDecimal tax, BigDecimal amountWithTax,
			String detailArr, Long menuId) throws Exception;
	
	R flowPass(String bid, String loginUserId) throws Exception;
	
	R flowRefuse(String bid, String reason, String loginUserId) throws Exception;
	
	void flowFinish(String bid) throws Exception;
	
	R deleteTrue(Long id) throws Exception;

	//获取列表数据
	Map<String,Object> getExtraParam(String bid) throws Exception;

	//获取子列表数据
	List<Map<String, Object>> getItemList(String bid) throws Exception;


}